package com.eva.admin.biz.system.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel("创建定时任务参数")
public class CreateSystemJobDTO {

    @ApiModelProperty(value = "JOB名称")
    private String jobName;

    @ApiModelProperty(value = "JOB描述")
    private String jobDescription;

    @ApiModelProperty(value = "任务处理器类")
    private String handler;

    @ApiModelProperty(value = "是否禁用并发执行")
    private Boolean disallowConcurrent;

    @ApiModelProperty(value = "是否禁用")
    private Boolean disabled;

    @ApiModelProperty(value = "是否记录日志")
    private Boolean withLog;

    @ApiModelProperty(value = "CRON表达式")
    private String cronExpression;

    @ApiModelProperty(value = "服务器白名单")
    private String allowServerIps;
}
